package com.cl.service.impl;

import com.cl.mapper.QuitMapper;
import com.cl.service.QuitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class QuitServiceImpl implements QuitService {
    @Autowired
    private QuitMapper quitMapper;

    @Override
    public List<Map<String, Object>> queryByUquit(int quit) {
        return quitMapper.queryByUquit(quit);
    }

    @Override
    public int updateQuit(int quit, int uid) {
        return quitMapper.updateQuit(quit, uid);
    }

    @Override
    public int deleteQuit(int uid) {
        return quitMapper.deleteQuit(uid);
    }
}
